package com.bw.bean;

public class User {
    private Integer id;
    private String name;
    private String password;
    private String sex;
    private String hobby;
    private String bdate;
    private String pic;
    private City sheng;
    private City shi;
    private City xian;

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", sex='" + sex + '\'' +
                ", hobby='" + hobby + '\'' +
                ", bdate='" + bdate + '\'' +
                ", pic='" + pic + '\'' +
                ", sheng=" + sheng +
                ", shi=" + shi +
                ", xian=" + xian +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }

    public String getBdate() {
        return bdate;
    }

    public void setBdate(String bdate) {
        this.bdate = bdate;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public City getSheng() {
        return sheng;
    }

    public void setSheng(City sheng) {
        this.sheng = sheng;
    }

    public City getShi() {
        return shi;
    }

    public void setShi(City shi) {
        this.shi = shi;
    }

    public City getXian() {
        return xian;
    }

    public void setXian(City xian) {
        this.xian = xian;
    }

    public User() {
    }

    public User(Integer id, String name, String password, String sex, String hobby, String bdate, String pic, City sheng, City shi, City xian) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.sex = sex;
        this.hobby = hobby;
        this.bdate = bdate;
        this.pic = pic;
        this.sheng = sheng;
        this.shi = shi;
        this.xian = xian;
    }
}
